s = 1
for i in range(2, 20000, 2):
    j = i / (i - 1) * i / (i + 1)
    s = s * j
pi = 2 * s
print("%.4f" % pi)